package com.newasia.search.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author jin
 */

@Document(indexName = "ispu", type = "doc", shards = 1, replicas = 0)
@Data
public class SpuDocument {
	@Id
	private Long spuId;

	private String brandName;

	private String catName;

	private String title;

	private String spuKey;

	private BigDecimal price;
}
